home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 44 / Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso / +system+ / tools / expert / devguide / mydevice.rexx < prev    next >
OS/2 REXX Batch file  |  1999-01-25  |  343b  |  14 lines

  1. /* Device Check on a selected volume
  2.    V2.0- 10/03/98 - © Age*/
  3.  
  4. if ~show('L',"rexxreqtools.library") then addlib('rexxreqtools.library',0,-30,0)
  5.  
  6. Volume = rtfilerequest(,,"Pick a Volume",,"rtfi_volumerequest=vreqf_noassigns")
  7. IF Volume = "" then do
  8.    address command '"SetEnv" dev='0
  9.    exit
  10. END
  11.  
  12. address command '"SetEnv" dev='Volume
  13. Exit
  14.